package com.zjf.carpark.dao;


import com.zjf.carpark.entities.ParkPlace;
import com.zjf.carpark.vo.ParkPlaceVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @description:
 * @author: 张建飞
 * @createDate: 2019/12/21
 * @version: 1.0
 */
@Repository
public interface ParkPlaceMapper extends BaseMapper<ParkPlace> {
    int selectByNum(String parkPlaceNum);

    List<ParkPlace> selectByMsg(ParkPlaceVO parkPlaceVo);

    List<ParkPlace> selectNormalByMsg(ParkPlaceVO parkPlaceVo);

    int totalCountNormal(ParkPlaceVO parkPlaceVo);

    int totalCount(ParkPlaceVO parkPlaceVo);

    List<ParkPlace> selectAllFixed();

    int updateByNum(String parkPlaceNum, String carNum);

    int inUpdateParkPlace(String carNum, String parkPlaceNum);

    int outUpdateParkPlace(String carNum);

    int emptyCount();

    String selectNormalPark();

    String selectParkPlaceByCarNum(String carNum);

    List<ParkPlace> selectAllParkPlace();

    List<String> selectEmploy();
}


